import service from '../utils/request.js'
// 用户登录
export function user_login( payload = {} ){
    return service.post('/api/user/login',payload);
}
// 用户注册
export function user_register( payload = {} ){
    return service.post('/api/user/register',payload);
}
// 爆爆团
export function bao(payload={}){
    return service.get('/api/tuan/list',{params:payload})
}
export function shop_favlist( payload = {} ){
    return service.get('/api/shop/favlist',{ params: payload });
}
// 商品列表
export function shop_list(payload={}){
    return service.get('/api/shop/list',{params:payload})
}
export function shop_shopinfo( payload = {} ){
    return service.get('/api/shop/shopinfo',{ params: payload });
}
// 轮播图
export function banner_list( payload = {} ){
    return service.get('/api/banner/list',{ params: payload });
}